package com.report.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.report.dto.request.DownloadReportReq;
import com.report.dto.response.DownloadReportRes;
import com.report.entity.DownloadReport;
import com.zmh.framework.sys.dto.request.common.PageResponseDTO;

/**
 * @author summer
 * @version 1.0
 * @date 2024/7/31 09:05
 */
public interface DownloadReportService extends IService<DownloadReport> {

    //会员下载列表
    Page<DownloadReportRes> lists(PageResponseDTO pageResponseDTO);

    /**
     * 查询
     */
    void findMemberDownloadReportFile();

    /**
     * 查询下载
     * @param pageResponseDTO
     * @return
     */
    Page<DownloadReportRes> downloadReportLists(DownloadReportReq pageResponseDTO);

    /**
     * 当日下载
     * @param memberId
     */
    void downloadDay(Integer memberId);

    /**
     * 保存下载数据
     * @param downloadReportReq
     */
    void saveDownloadData(DownloadReportReq downloadReportReq);
}
